package interfaces;

import java.sql.SQLException;
import java.util.ArrayList;
import model.Genus;

public interface IGenus {
  public boolean create(Genus genus) throws SQLException, ClassNotFoundException;
  public boolean update(Genus genus) throws SQLException, ClassNotFoundException;
  public boolean delete(Genus genus) throws SQLException, ClassNotFoundException;
  public ArrayList<Genus> retrieveByName(String name) throws SQLException, ClassNotFoundException;
  public ArrayList<Genus> retrieveAll() throws SQLException, ClassNotFoundException;
}
